<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link href="<%=request.getContextPath()%>/css/global.css" type="text/css" rel="stylesheet" />
<link href="<%=request.getContextPath()%>/js/easyui/themes/metro/easyui.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="<%=request.getContextPath()%>/js/jquery.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/validate/validate.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/global.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/easyui/easyui.js"></script>
<script type="text/javascript">
	$(function() {
		$("#sform").validate({
			rules : {
				merNo : {
					required : true
				}
			},
			errorPlacement : function(error, element) {
				element.css("border-color", "#1c3e57");
			},
		});
	});
</script>
</head>
<body>
	<div class="easyui-panel" title="编辑面板" style="width: 100%;" data-options="fit:true">
		<form id="sform" action="merchant_saveother.html" method="post" enctype="multipart/form-data">
			<table width="90%">
				<tr>
					<td height="30" align="right" width="200"><b></b></td>
					<td width="300"><b>内容</b></td>
					<td><b>说明</b></td>
				</tr>
				<tr>
					<td></td>
					<td colspan="2"><hr /></td>
				</tr>
				<tr>
					<td height="30" align="right">商户编号 :</td>
					<td><s:property value="merchantBean.merNo" /><input type="hidden" placeholder="商户编号" name="merNo" id="merNo" value="<s:property value="merchantBean.merNo"/>" /></td>
					<td>固定为4位整数作为商编,请严格遵守此规则</td>
				</tr>
				<tr>
					<td height="30" align="right">是否开启第三方风控 :</td>
					<td><s:radio id="merRisking" name="merRisking" list="#{'0':'无效','1':'有效'}" value="merchantBean.merRisking"></s:radio></td>
					<td>是否开启第三方风控</td>
				</tr>
				<tr>
					<td height="30" align="right">是否自动发货 :</td>
					<td><s:radio id="merShipping" name="merShipping" list="#{'0':'无效','1':'有效'}" value="merchantBean.merShipping"></s:radio></td>
					<td>交易后是否自动发货</td>
				</tr>
				<tr>
					<td height="30" align="right">是否自动邮件 :</td>
					<td><s:radio id="merMailing" name="merMailing" list="#{'0':'无效','1':'有效'}" value="merchantBean.merMailing"></s:radio></td>
					<td>交易成功后是否自动给持卡人发邮件</td>
				</tr>
				<tr>
					<td height="30" align="right">是否失败通知 :</td>
					<td><s:radio id="merNotifying" name="merNotifying" list="#{'0':'无效','1':'有效'}" value="merchantBean.merNotifying"></s:radio></td>
					<td>交易失败后是否也向商户网站发送通知</td>
				</tr>
				<tr>
					<td height="30" align="right">是否报表显示子账户id :</td>
					<td><s:radio id="merChilding" name="merChilding" list="#{'0':'无效','1':'有效'}" value="merchantBean.merChilding"></s:radio></td>
					<td>商户后台下载的交易报表内是否显示子账户的编码</td>
				</tr>
				<tr>
					<td height="30" align="right">是否显示单笔限额 :</td>
					<td><s:radio id="merLimiting" name="merLimiting" list="#{'0':'无效','1':'有效'}" value="merchantBean.merLimiting"></s:radio></td>
					<td>商户后台是否显示交易的金额限制</td>
				</tr>
				<tr>
					<td height="30" align="right">是否只显示n天内交易 :</td>
					<td><s:radio id="merDaying" name="merDaying" list="#{'0':'无效','1':'有效'}" value="merchantBean.merDaying"></s:radio></td>
					<td>商户查询交易是是否只显示N天内的</td>
				</tr>
				<tr>
					<td height="30" align="right">是否校验ip和账单国家 :</td>
					<td><s:radio id="merComparing" name="merComparing" list="#{'0':'无效','1':'有效'}" value="merchantBean.merComparing"></s:radio></td>
					<td>交易时是否校验IP所在的国家编码和账单上的国家编码是否一致</td>
				</tr>
				<tr>
					<td height="30" align="right">是否开启交易笔数控制 :</td>
					<td><s:radio id="merCounting" name="merCounting" list="#{'0':'无效','1':'有效'}" value="merchantBean.merCounting"></s:radio></td>
					<td>商户是否开启交易笔数的限制</td>
				</tr>
				<tr>
					<td height="30" align="right">是否刷单风险 :</td>
					<td><s:radio id="merBrushing" name="merBrushing" list="#{'0':'无效','1':'有效'}" value="merchantBean.merBrushing"></s:radio></td>
					<td>该商户是否有刷单的风险</td>
				</tr>
				<tr>
					<td height="30" align="right">是否忽略黑名单 :</td>
					<td><s:radio id="merIgnoring" name="merIgnoring" list="#{'0':'无效','1':'有效'}" value="merchantBean.merIgnoring"></s:radio></td>
					<td>该商户的交易是否忽略黑卡名单</td>
				</tr>
				<tr>
					<td height="30" align="right">是否忽略网站审核 :</td>
					<td><s:radio id="merVerifying" name="merVerifying" list="#{'0':'无效','1':'有效'}" value="merchantBean.merVerifying"></s:radio></td>
					<td>该商户的交易是否忽略网站审核</td>
				</tr>
				<tr>
					<td height="30" align="right">是否24小时内免费退款 :</td>
					<td><s:radio id="merRefunding" name="merRefunding" list="#{'0':'无效','1':'有效'}" value="merchantBean.merRefunding"></s:radio></td>
					<td>交易是否24小时内退款不收取退款费</td>
				</tr>
				<tr>
					<td height="30" align="right">是否开启伪站 :</td>
					<td><s:radio id="merReplacing" name="merReplacing" list="#{'0':'无效','1':'有效'}" value="merchantBean.merReplacing"></s:radio></td>
					<td>使用伪站代替真实交易网站送往上游收单</td>
				</tr>
				<tr>
					<td height="30" align="right">备用字段 :</td>
					<td><s:radio id="merUsing" name="merUsing" list="#{'0':'无效','1':'有效'}" value="merchantBean.merUsing"></s:radio></td>
					<td>备用字段</td>
				</tr>

				<tr>
					<td></td>
					<td colspan="2"><hr /></td>
				</tr>

				<tr>
					<td height="30" align="right"></td>
					<td><input type="button" class="submit" value="提交单据" onclick="if($('#sform').valid()){$('#sform').submit();}" /> <input type="button" class="submit" value="返回上级" onclick="history.go(-1);" /></td>
					<td></td>
				</tr>
			</table>
		</form>
	</div>
</body>
</html>

